package cn.iocoder.yudao.module.social.api.container.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * RPC 服务 - 容器信息 Response DTO
 *
 * @author 芋道源码
 */
@Schema(description = "RPC 服务 - 容器信息 Response DTO")
@Data
public class ContainerRespDTO {

    @Schema(description = "容器编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "容器类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "board")
    private String type;

    @Schema(description = "容器名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "技术讨论区")
    private String name;

    @Schema(description = "父容器编号", example = "1")
    private Long parentId;

    @Schema(description = "容器描述", example = "这是一个技术讨论区")
    private String description;

    @Schema(description = "排序", example = "1")
    private Integer sort;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime updateTime;

}
